package com.kevin.springboot.abstractfactory;

public class Client {

    public static void main(String[] args) {

        System.out.println("===========小米================");
        XiaomiFactory xiaomiFactory = new XiaomiFactory();

        IPhoneProject xiaomiProduct = xiaomiFactory.productPhone();
        xiaomiProduct.start();
        xiaomiProduct.sendSMS();


        IRouterProject xiaomiRouter = xiaomiFactory.productRouter();
        xiaomiRouter.setting();
        xiaomiRouter.shutdown();
    }
}
